package DomainLayer;

import java.util.Date;


public class Ticket {

	private int ticketNo;
	private String serviceType;
	private Date date; 
	private static final String otherMessage = "Juhars Bank thanks you ";//??
	
	
	public Ticket(int ticketNo, String serviceType) {
		this.ticketNo = ticketNo;
		this.serviceType = serviceType;
		Date date = new Date();
		this.date = date;
	}
	
	public static String getOthermessage() {
		return otherMessage;
	}

	public int getTicketNo() {
		return ticketNo;
	}
	public String getServiceType() {
		return serviceType;
	}
	public Date getDate() {
		return date;
	}
	 
	
}
